using System;
using System.Collections.Generic;
using System.Text;

namespace MCMLXVII.BackEnd.Services.SystemConfiguration.Messages
{
    [Serializable()]
    [System.Xml.Serialization.XmlType(Namespace = "http://tempuri.org/")]
    public class msgPartitionInfo
    {

        private string _Name;

        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        private string _Description;

        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }
        private bool _Enabled;

        public bool Enabled
        {
            get { return _Enabled; }
            set { _Enabled = value; }
        }
        private bool _IsCritical;

        public bool IsCritical
        {
            get { return _IsCritical; }
            set { _IsCritical = value; }
        }
        private string _ManagersFilter;

        public string ManagersFilter
        {
            get { return _ManagersFilter; }
            set { _ManagersFilter = value; }
        }


        public msgPartitionInfo()
        {

        }

        public msgPartitionInfo(string Name, string Description, bool Enabled, bool IsCritical, string ManegersFilter)
        {
            _Name = Name;
            _Description = Description;
            _Enabled = Enabled;
            _IsCritical = IsCritical;
            _ManagersFilter = ManagersFilter;
        }
    }

    [Serializable()]
    [System.Xml.Serialization.XmlType(Namespace = "http://tempuri.org/")]
    public class msgPartitionItemRequest
    {
        private string _PartitionName;

        public string PartitionName
        {
            get { return _PartitionName; }
            set { _PartitionName = value; }
        }
        private string _ItemName;

        public string ItemName
        {
            get { return _ItemName; }
            set { _ItemName = value; }
        }

        public msgPartitionItemRequest()
        {

        }

        public msgPartitionItemRequest(string PartitionName, string ItemName)
        {
            _PartitionName = PartitionName;
            _ItemName = ItemName;
        }
    }

    [Serializable()]
    [System.Xml.Serialization.XmlType(Namespace = "http://tempuri.org/")]
    public class msgPartitionItemAndSubItemRequest
    {
        private string _PartitionName;

        public string PartitionName
        {
            get { return _PartitionName; }
            set { _PartitionName = value; }
        }
        private string _ItemName;

        public string ItemName
        {
            get { return _ItemName; }
            set { _ItemName = value; }
        }

        private string _SubItemName;

        public string SubItemName
        {
            get { return _SubItemName; }
            set { _SubItemName = value; }
        }

        public msgPartitionItemAndSubItemRequest()
        {

        }

        public msgPartitionItemAndSubItemRequest(string PartitionName, string ItemName, string SubItemName)
        {
            _PartitionName = PartitionName;
            _ItemName = ItemName;
            _SubItemName = SubItemName;
        }
    }

}
